package Visitor;

/**
 * @Author zhangjinxi
 * @Date: Created in 10:13 2018/3/2
 * @Description:
 */
public class MySubject implements Subject {

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    @Override
    public String getSubject() {
        return "subject name";
    }

}
